import java.io.File;
import java.util.ArrayList;
import java.util.Scanner;

public class LerDoArquivo
{
	public static ArrayList<String> ler(String fileName)
	{
		fileName = "transacoes.txt";
		ArrayList<String> array = new ArrayList<String>();
		try{
			Scanner input = new Scanner(new File(fileName));
			while(input.hasNext())
			{
				array.add(input.nextLine());
			}
		}catch(Exception e)
		{
			System.out.println(e.getMessage());
		}
		return array;
	}
	
	
}